Cloner

Cloner

Adobe Illustrator scriptUser GuidePRO

Turn selected artwork into precise repeated arrangements

Cloner repeats one or more selected objects in Adobe Illustrator, creating rows, grids, hexagonal layouts, circles, spirals, scattered distributions, waves, and Fibonacci patterns. Set exact values or drag visual handles, transform the source and its copies, add repeatable random variation, and save arrangements as presets. Inspect temporary copies with live preview before you confirm the final editable artwork.

Get it on Patreon

Available exclusively on Patreon for Pro supporters. The Pro tier also unlocks the entire collection of Illustrator scripts, with future updates.

Key features

01 Eight arrangement modes Build linear, grid, honeycomb, radial, spiral, random, wave, and Fibonacci layouts.
02 Multiple source objects Repeat every source separately or cycle through your selection at each position.
03 Precise numeric input Type measurements and arithmetic, link paired values, and reset individual controls.
04 Visual arrangement editing Drag handles, scrub counts and distance, and zoom or pan each mode’s diagram.
05 Progressive appearance effects Blend scale, twist, spacing, and opacity across supported arrangements.
06 Repeatable random variation Use independent seeds for position, size, rotation, opacity, flips, and visibility.
07 Visual preset library Save setups with thumbnails, favorites, mode filters, and JSON import and export.
08 Editable grouped results Preview temporary copies, then reopen a grouped result later to regenerate it.

01 Interface guide

Overview

Turn selected artwork into an editable arrangement of repeated instances. Cloner combines exact measurements with visual editing, so you can shape the pattern before keeping it.

Use Grid for tiled motifs, Radial for circular arrangements, Wave for rhythmic rows, or Fibonacci for seed-like patterns. Start with one object or group, or mix several selected sources.

The workflow: arrange, refine, then repeat

The four workspaces edit one configuration. Settings, Editor, and Randomize share synchronized mode selectors; switching workspaces continues the same arrangement.

Settings Choose the mode, source repetition, counts, spacing, and mode-specific effects.
Editor Reshape the arrangement with handles and tracks, then scale or rotate its artwork.
Randomize Add seeded variations, flips, or hidden instances to any arrangement.
Presets Save a mode setup and recall it later, or reset the complete script with Default.

Meet the interface

The workspaces share tabs and bottom actions. Each workspace below has a live example with numbered markers that follow the selected tab and mode. The toolbar at the bottom right of each live artboard changes the view without changing the arrangement. Drag with the Hand tool to pan, or use the Zoom tool to zoom at a point. Use − and + for steps, drag the percentage for finer control, or click it to fit the artboard.

Experiment freely

Preview ON generates temporary working copies. OK builds the final arrangement from your sources; Cancel removes the preview and restores the source selection. Preset-library changes are saved immediately, even when you cancel the arrangement.

Working with the controls

  • Drag a slider, use its minus and plus controls, or type an exact value. Fields accept arithmetic such as 100/2 and (20+10)*3.
  • Hold Shift while dragging for control-specific round increments. Radius and Distance use 100-unit snapping; angle controls commonly use 15°.
  • A colored reset dot marks a changed value. Click it, right-click the slider, or Option/Alt-click the row label to restore that value.
  • Option/Alt-click Cancel to reset numeric controls without closing the dialog. The Default preset resets the complete configuration.

Keyboard shortcuts

Shortcut Action
1–8 Switch cloning modes in order from Linear to Fibonacci when you are not editing text.
Cmd/Ctrl + S Save a preset from any workspace.
↑ / ↓ Adjust a focused numeric field. Hold Shift for five steps.
Enter Apply an active numeric edit first. Otherwise, run OK outside Presets.
Esc Cancel the arrangement when you are not handling a preset edit or search.

02 Getting started

Install & make your first arrangement

Open an Illustrator document and select at least one object before you launch Cloner. That selection supplies the artwork you repeat.

Run the script once

Choose File > Scripts > Other Script... and select the Cloner .jsx file. You can also drag the file onto the Illustrator workspace to run it without installing it in the menu.

Install it in the Scripts menu

1
Place the .jsx file in the Scripts folder matching your Illustrator version and language.
2
Restart Illustrator after copying the file.
3
Select your source artwork and run Cloner from File > Scripts. The menu uses the script file’s name.

macOS

/Applications/Adobe Illustrator [Version]/Presets/[Language]/Scripts

Windows

C:\Program Files\Adobe\Adobe Illustrator [Version]\Presets\[Language]\Scripts

Make a linear row in six steps

1
In a document using pixel ruler units, select a source object about 40 px wide. Launch Cloner with that object selected.
2
In Settings, choose Linear, set Count to 6, and set Movement to X / Y Axes.
3
Unlink the axis values if needed. Set Horizontal to 60 and Vertical to 0 for a horizontal row with space between these sources.
4
Set Easing and Twist to 0, End Scale and End Opacity to 100%, and turn Preview ON. Keep Randomize channels off for an even result.
5
Open Editor to inspect the arrangement. Keep shared Scale at 100% and Rotate at 0°; use Zoom to Fit to inspect the document.
6
Enable Group if you want one group containing the complete result, then click OK. Choose Cancel if you only want to practice.

Note Opening values may differ

Cloner restores settings from your previous successful OK. Set the values above explicitly, or apply Default in Presets before starting. Cancel leaves the previously saved settings unchanged.

03 Clone layouts

Settings

Choose how your sources repeat, then set the arrangement’s counts and measurements. Each mode exposes the controls needed for its geometry.

Explore the eight modes

Choose a mode to see what it does, then browse its illustrated examples.

Linear

Repeat artwork along a straight line. Use it for borders, evenly spaced rows, or gradual changes in size and angle.

Scale. Lower End Scale to taper a row of diamonds from large to small.
Sequential. Cycle through a diamond, circle, and rosette to make a repeating border.
Twist. Rotate each square a little more than the last for a turning ribbon.

Grid

Arrange artwork in rows and columns. Keep the cells aligned for a regular layout, or offset alternating rows or columns for a staggered pattern.

Regular grid. Align squares in even rows and columns for a tile sheet.
Offset rows. Shift alternating rows horizontally for a brickwork pattern.
Offset columns. Shift alternating columns vertically to break up the horizontal alignment.
Sequential selection. Cycle different source shapes through the cells to build a mixed tile pattern.

Honeycomb

Place copies on a hexagonal lattice. Pick a cell orientation to control how adjacent rows or columns fit together.

Flat top. Use flat-topped hexagons in vertically staggered columns for a honeycomb tile pattern.
Pointy top. Use point-up hexagons in horizontally staggered rows for a hex map.

Radial

Place copies around a center on a circle, ellipse, or partial arc. Orientation determines whether each copy turns with its position.

Original. Space arrows around a ring while keeping every arrow upright.
Outward. Point arrows away from the center for a burst or compass motif.
Inward. Point arrows toward the center to draw attention to a focal point.

Spiral

Place copies on a path that winds away from its center. Adjust Distance and Spread to change the width and number of turns.

Reverse Order off. Let overlapping squares at the outer end sit on top for an outward sweep.
Reverse Order on. Flip the stacking so the inner end sits on top without changing the spiral path.

Random

Scatter copies inside a rectangular area. Combine random placement with channels in the Randomize workspace for more variety.

Random offset. Scatter identical, upright squares without changing their size or angle.
Random offset + scale. Vary the size as well as position for a scattered pattern with upright shapes.
Random offset + scale + rotation. Vary position, size, and angle together for a loose confetti effect.

Wave

Place copies along a repeating wave. Choose a waveform, then adjust amplitude and period to shape the pattern.

Sine. Start near the midline and sweep through rounded peaks and valleys for a flowing border.
Cosine. Shift the smooth wave by a quarter cycle so it starts at an extreme instead of the midline.
Triangle. Use straight rises and falls to make a band with sharp peaks.

Fibonacci

Spread copies outward from a center using the golden angle. Adjust Spacing to make the cluster tighter or more open.

Seed-head pattern. Repeat circles to create a sunflower-like cluster with interlaced spirals.

Set exact values

Live demo · requires JavaScript
  1. 1 Cloning modeChoose Linear, Grid, Honeycomb, Radial, Spiral, Random, Wave, or Fibonacci.
  2. 2 SelectionEach Object repeats every source; Sequential cycles sources at each position.
  3. 3 CountPositive whole-number instance count.
  4. 4 MovementX / Y Axes uses per-step offsets; Custom Angle uses Distance/Direction; Destination sets the final offset.
  5. 5 HorizontalPer-step X movement, or total destination X offset.
  6. 6 VerticalPer-step Y movement, or total destination Y offset. Zero keeps a horizontal row.
  7. 7 EasingChanges spacing through the Linear sequence. Default 0 gives even spacing.
  8. 8 TwistProgressive rotation through the sequence. Slider −360° to 360°; default 0°.
  9. 9 End ScaleFinal size percentage.
  10. 10 End OpacityFinal opacity from 0–100%. Default 100%.
  11. 11 Reverse OrderReverses instance assignment and stacking through the arrangement.
  12. 12 GroupCollects the finished output in Cloner Result. Ungroup is the default.
The Settings tab in Linear mode, with a six-instance row. Click a number in the demo, or an item in this list, to see what it does.

Choose sources and a mode

With multiple sources, Selection becomes available. Each Object repeats the full arrangement from every source’s starting position. Sequential cycles sources, using one per position. The choice remains active in other workspaces.

Choose one of the eight modes. Measurements follow document ruler units, with Large Canvas conversion. Type exact values when a slider’s range is too small.

Build a row or an exact endpoint

In Linear, Count sets instances. X / Y Axes uses Horizontal and Vertical per-step offsets. Zero on one axis creates a straight row; negative values reverse movement. Toggle the chain between linked and unlinked to couple or separate the axes.

Choose Custom Angle to replace Horizontal with Distance and set Direction using the dial, field, or angle presets. 0° points right, 90° down, −90° up, and 180° left. The presets include 0°, 180°, and both signs of 30°, 45°, 60°, 90°, and 135°. Negative Distance reverses movement while retaining the angle.

Choose Destination when the final instance must reach a specific total Horizontal and Vertical offset. Count distributes instances between the source and destination. Changing Movement converts between total and per-step offsets to preserve the visible final position.

  • Easing changes spacing through the sequence. Its slider spans −1,000 to 1,000; the default 0 gives even distribution.
  • Twist adds progressive rotation, from −360° to 360° on the slider, with a 0° default. End Scale defaults to 100%; you can enter values above the 200% slider range.
  • End Opacity blends toward a final opacity of 0–100%; the default is 100%. Toggle Reverse Order from off to on to reverse assignment and stacking across the sequence.

Build rectangular or hexagonal layouts

In Grid, Columns and Rows set the cell counts. Link the counts for matching values, and link Horizontal and Vertical separately for matching spacing. With Use Object Size off, these fields set the absolute step between cells. Turn it on to use source width and height, with H Gutter and V Gutter adding space or negative overlap.

Offset offers None, Rows, or Columns. Shift expresses the alternating offset as a percentage of the active step. For a brick-like layout, use Rows and 50%. Zero gutters with Use Object Size create edge-to-edge cells; the source dimensions determine the actual step.

In Honeycomb, set Columns, Rows, and Radius, then choose Pointy Top or Flat Top. Radius is the center-to-corner distance of each hexagonal cell. Grid Preview adds a temporary dashed hexagonal overlay on a non-printing top layer while Preview is active. It is separate from the finished cloned artwork.

Shape a circle, ellipse, or spiral

In Radial, link Horizontal Radius and Vertical Radius for circles; unlink for ellipses. Start Angle and End Angle define the arc. Full 360° circles avoid duplicate endpoints; partial arcs include both. Equal angles stack positions. Crossing an endpoint pushes its partner to preserve Start ≤ End.

Choose Original to keep source orientation, Outward to face away from the center, or Inward to face toward it. Set End Opacity for an opacity transition and Reverse Order to reverse assignment and stacking, including the reused source.

In Spiral, Distance sets the maximum outward distance and Spread sets the angular extent. Increase Spread for more turns and Distance for a wider spiral. Twist rotates progressively and End Opacity changes transparency across the sequence. Count 1 is valid.

Scatter artwork or follow a wave

In Random, set Count, Width, and Height for a rectangular distribution. Link Width and Height for a square. Changing dimensions keeps the placement seed stable. To generate a different arrangement, use Randomize All or the Random Editor’s Regenerate action.

In Wave, Distance sets horizontal spacing, Amplitude sets vertical displacement, and Period sets the number of cycles. Wave Type offers Sine, Cosine, Triangle, and Square: smooth curves, straight peaks, or stepped alternation. End Opacity and Reverse Order refine the sequence.

Create an expanding Fibonacci pattern

Fibonacci distributes instances using the golden angle and square-root radial growth. Spacing must be positive: smaller values keep the cluster compact, while larger values expand it. Rotation adds an orientation offset from −360° to 360°; End Opacity changes transparency toward the outside. Count controls the requested instances.

Important Check the object estimate

Cloner asks for confirmation when its estimate exceeds 1,000 objects and rejects estimates above 10,000. It conservatively multiplies requested positions by the number of selected sources even in Sequential mode. Skip Instances does not reduce this estimate.

04 Visual editing

Editor

Refine the active arrangement by dragging its handles and tracks. The diagram updates the same values you can type in Settings.

Live demo · requires JavaScript
  1. 1 Cloning modeSwitch the active visual editor; Settings and Randomize stay synchronized.
  2. 2 ZoomDiagram zoom 25–800%. Scrub the percentage; click it to reset to 100% and recenter.
  3. 3 DistanceScrub per-step distance without changing direction.
  4. 4 EndpointDrag to change movement.
  5. 5 EasingDrag the track to change intermediate spacing in the Linear sequence.
  6. 6 TwistDrag to apply progressive rotation through the sequence.
  7. 7 End ScaleDrag left below 100% or right above 100% for a progressive size change.
  8. 8 OpacityDrag to set the final opacity; the first instance starts with source opacity.
  9. 9 CountScrub the count or use its minus and plus buttons.
  10. 10 X / YCycles Linear movement options directly in the diagram.
  11. 11 Link X/Y & ReverseLink axis movement or reverse instance assignment and stacking.
  12. 12 ScaleScales the source and every instance together. Minimum 1%; default 100%.
  13. 13 RotateAdds shared rotation to the source and copies. Field accepts beyond the ±180° track.
The Editor tab in Linear mode. Drag the endpoint to reshape the row. Click a number in the demo, or an item in this list, to see what it does.

Navigate the diagram

Use the top-left − and + buttons to zoom from 25% to 800%. Drag the percentage horizontally to scrub magnification; click it without dragging to restore 100% and recenter. Drag empty space or middle-drag inside the interactive area to pan. Parameter tracks and count controls remain fixed.

Release a pan or handle drag to bring offscreen handles back into view, with automatic zoom-out when needed. Each mode keeps its view during the session; zoom and pan are not saved in presets or between launches.

Drag the slim handle below the canvas to make the Editor taller or shorter, and double-click it to restore the default height. Cloner remembers the height, which also applies to the Presets list.

Drag the arrangement into shape

Mode Direct controls
Linear Drag the endpoint for axis movement, Distance/Direction, or Destination. Scrub Distance beside zoom; scrub or step Count.
Grid Drag X/Y spacing handles; adjust counts, links, Use Object Size, Offset, and Shift.
Honeycomb Drag the highlighted hexagon or Radius track; adjust counts, Orientation, and Grid Preview.
Radial Drag radius and start/end angle handles; scrub Count and use Original or Full Circle shortcuts.
Spiral Drag the outer square for Distance and use Spread, Twist, and End Opacity tracks.
Random Drag right, bottom, or corner area handles; use shared variation tracks and Regenerate.
Wave Drag D and A handles for Distance and Amplitude; change Period and waveform.
Fibonacci Drag the outer square for Spacing; adjust Count, Rotation, and End Opacity.

Linear endpoint dragging has no fixed movement limit and keeps a steady view scale during the drag. Distance scrubbing changes spacing while preserving direction; Destination uses total endpoint distance, while X/Y and Custom Angle use per-step distance. The Distance −/+ buttons change by 1, or 10 with Shift. Hold Shift while scrubbing to snap to increments of 10.

Grid and Honeycomb fit the full lattice, using representative cells at low zoom and finer detail at higher zoom. Fibonacci shows every valid requested instance. Random and Fibonacci reflect Skip Instances.

Transform the source and copies together

Below the canvas, Scale resizes all artwork without changing spacing. Its centered track spans 0–200%; the minimum is 1%, and numeric entry can exceed 200%. It multiplies other scaling effects.

Rotate adds an angle after mode orientation and before Randomize. The track spans −180° to 180° with 5° ticks and detents; numeric entry can exceed it. Shared transforms stay temporary until OK.

Reset a focused adjustment

Hold Shift while dragging to use the control’s round increment. Option/Alt-click empty diagram space, or right-click the canvas, to restore that editor’s arrangement defaults. Clicking the zoom percentage resets the view instead.

Note Three different kinds of scale

Editor zoom changes the diagram view. Shared Scale changes artwork size. The footer’s Zoom to Fit changes the Illustrator document view. Use the control that matches what you want to adjust.

05 Variation controls

Randomize

Add repeatable variation after the base arrangement is built. Independent channels let you change one property while keeping the other patterns stable.

Live demo · requires JavaScript
  1. 1 Cloning modeVariation applies after the chosen base arrangement in any of the eight modes.
  2. 2 Randomize ONBypasses or restores every channel without discarding amounts or seeds.
  3. 3 Randomize AllReshuffles enabled channels and Random placement. Disabled-channel seeds remain unchanged.
  4. 4 Reset AllDisables channels, resets amounts to 0 and flip chances to 50%, and preserves seeds.
  5. 5 X OffsetEnable to vary horizontal position.
  6. 6 Y OffsetEnable to vary vertical position by up to the chosen document-unit amount.
  7. 7 SizeEnable 0–100% size variation around the arranged size; each instance keeps a 1% minimum.
  8. 8 RotationEnable rotation variation up to 0–360° in either direction.
  9. 9 OpacityEnable to reduce arranged opacity by up to 0–100%.
  10. 10 Flip HorizontalChance of left-to-right mirroring, 0–100%. Default 50%, channel off.
  11. 11 Flip VerticalChance of top-to-bottom mirroring, 0–100%. Default 50%, channel off.
  12. 12 Skip Instances0 shows all; 10 hides all. Dice changes visibility only; hidden copies still count.
  13. 13 Random SeedCommit a positive integer seed. Adjacent Undo/Redo navigate complete shuffle snapshots.
The Randomize tab. Try varying size or rotation without changing the base row. Click a number in the demo, or an item in this list, to see what it does.

Compare variation with the base arrangement

1
Choose a mode and establish its geometry in Settings or Editor.
2
Turn Randomize ON and enable a channel by clicking its icon or label. Set a visible amount, such as Rotation 15° or Size 10%.
3
Change the amount to refine the effect. The same seed supplies the variation, so ordinary amount changes do not reshuffle the pattern.
4
Switch Randomize OFF to compare against the base arrangement. Turning it back on restores channel states, amounts, and seeds.

Choose the property to vary

Channel Amount Effect
X Offset / Y Offset Nonnegative document-unit amounts Moves instances independently along each axis by up to the amount.
Size 0–100% Scales above or below arranged size; each instance keeps a 1% minimum.
Rotation 0–360° Rotates clockwise or counterclockwise by up to the amount.
Opacity 0–100% Reduces arranged opacity by up to the amount, clamped at zero.
Flip Horizontal 0–100% chance Mirrors left-to-right; default chance is 50%.
Flip Vertical 0–100% chance Mirrors top-to-bottom; default chance is 50%.
Skip Instances 0–10 0 shows all; 10 hides all; 5 hides about half with the current seed.

Disabled channels appear faded. Enable both flip channels for independent mirroring on either axis. Random defines scattered placement; Randomize varies any of the eight arrangements.

Reshuffle one channel or the whole pattern

An enabled channel’s dice reshuffles only that property. Skip preserves Random placement; other dice also display the new Random Seed.

Randomize All reshuffles enabled channels and Random mode placement together; disabled-channel seeds remain unchanged. Enter a positive integer in Random Seed to establish a common reproducible seed. The typed value commits on Enter or when the field loses focus.

Adjacent Undo and Redo navigate complete shuffle snapshots, including Skip seeds. Typing a seed or applying a preset begins fresh history. These buttons affect seeds, not document history.

Hide instances without removing copies

Skip hides copies through 0% opacity while keeping positions. Increasing it with the same seed preserves already-hidden instances and hides more. Reduce Skip, disable it, or turn Randomize off to reveal copies.

Note Hidden instances still count

Skip does not remove objects or bypass count protection. A pattern at Skip 10 can be completely invisible and still contain every requested instance.

Clear variation while keeping seeds

Reset All disables channels, restores amounts to 0 and flip chances to 50%, and preserves seeds. For one channel, right-click its slider or click reset. Settings and presets store channel states, amounts, and seeds.

06 Preset library

Presets

Save reusable configurations for individual cloning modes, find them quickly, and share them between computers. Restore the complete script with the protected Default preset.

Live demo · requires JavaScript
  1. 1 SearchFilter by preset name or mode. Up/Down selects; Enter applies; Escape clears.
  2. 2 Filter pillClick to cycle Favorites and each cloning mode; right-click to show all presets.
  3. 3 DefaultResets all modes and shared settings. Protected from rename, deletion, and reordering.
  4. 4 ThumbnailA diagram of the preset, drawn from its own values in its mode’s color.
  5. 5 FavoriteA pink heart marks favorites. Hover a row and click its heart button to toggle.
  6. 6 Row actionsHover for Favorite, Rename, and Delete. Right-click for Update, Duplicate, and Move.
  7. 7 Resize handleDrag to change the list height; double-click to reset. The height is remembered.
  8. 8 Save PresetCaptures the active mode setup and opens a new name for editing.
  9. 9 Rename PresetRenames the selected user preset. Default cannot be renamed.
  10. 10 Delete PresetDeletes the selected user preset after you confirm in the row.
  11. 11 ImportAdds presets from a .json preset file or a Cloner settings file.
  12. 12 ExportSaves every user preset, with favorites, units, and seeds, to a .json file.
The Presets tab with sample presets. Click a number in the demo, or an item in this list, to see what it does.

Save and recall a setup

1
Refine the active mode, shared transforms, and Randomize settings.
2
Click Save Preset. Cloner adds a numbered row at the end of the list and opens its name for editing; use a descriptive name such as “Radial ellipse”.
3
Click and release a preset row to apply its mode-specific values and make that mode active. Settings belonging to other modes remain available.
4
If you change a setting the applied preset controls, an orange dot appears after its name. Click the row to reapply it, or right-click it and choose Update to keep the changes.

Right-click the Presets tab, or press Cmd/Ctrl + S, to save without leaving your current workspace.

Presets record the ruler unit they were saved in, so distances, radii, and areas are converted when you apply them in a document with other units. Saving also pins the random seed, so Random presets reproduce the same scatter.

Find the right preset

  • Each row starts with a thumbnail drawn from the preset’s own values in its mode’s color: counts, spacing, angles, arcs, wave shape, scatter, and End Opacity fading. A bright core marks the first instance.
  • Type in Search to filter by name or mode. Use Clear to remove the query.
  • Click the count pill to cycle the list through Favorites (when you have any) and each cloning mode, then back to all presets. The pill takes the filter’s color and the panel title names it. Right-click the pill to show all presets.
  • Hover a user row and click Add to Favorites. A heart appears before the name. Click Remove from Favorites to undo it.
  • Drag a row’s body to scroll without applying it, and drag the handle below the list to change its height.

Organize your library

  • Hover a user row for its Favorites toggle, Rename, and Delete buttons. Right-click, or Ctrl-click on macOS, to open the row menu.
  • In the row menu, Update keeps the preset’s name and position; Duplicate inserts a copy below it. Use Move Up or Move Down to reorder it.
  • Double-click a user preset’s name line, use its rename button, or click Rename Preset. Leaving the field saves. Names are limited to 64 characters, and taken names receive a numeric suffix. The toolbar’s Delete Preset removes the selected user preset.
  • Drag the six-dot handle at the left of a row’s thumbnail to reorder it; clear the search and filter first. Default always stays first.

Share and back up presets

Export saves every user preset, including favorites, units, and seeds, to a .json file. Import adds presets from such a file or from a Cloner settings file. Imported presets go to the end of the list, taken names receive a numeric suffix, identical presets are skipped, and a summary lists what happened.

Note Library changes survive Cancel

Every library change is written immediately; Cancel does not undo it. The library holds up to 200 user presets, and Cloner warns instead of dropping presets beyond that. If writing fails, the change is rolled back and the panel title shows Save failed.

Cloner stores settings and presets in ScriptBox/ai_cloner_settings.json. On macOS, ScriptBox is under ~/Library/Application Support/; on Windows, it is under %APPDATA%.

Keyboard shortcuts

Shortcut Action
↑ / ↓ Select a result while Search has focus.
Enter Apply the highlighted Search result, save a name edit, or start Save Preset when neither field nor a context menu is active.
Esc Clear the focused search or cancel a name edit.

07 Output workflow

Preview & finish

Inspect the temporary arrangement in your document, then create the result with OK or restore your sources with Cancel.

Use the bottom bar

Control What it does
Preview ON / Preview OFF Shows or removes temporary copies as values change. Preview off restores the source opacity.
Hide Edges / Show Edges Toggles selection edges and the bounding box while keeping artwork selected. Cloner reverses its view changes when the session ends.
Zoom to Fit / Restore View Fits the current preview or the sources when Preview is off. Click again to restore the captured center and zoom.
Cancel Removes temporary objects and guide layers, restores sources and selection, and leaves previously saved settings unchanged.
OK Rebuilds the final arrangement transactionally from original sources, optionally groups the result, and saves settings.

Choose how the result is organized

Group collects the result in Cloner Result. Ungroup, the default, keeps objects in their source containers, including multi-layer selections. Grouping affects final output only. There is no dedicated output layer.

Edit a grouped result later

A grouped result remembers how it was made: it stores its settings and hidden, untransformed copies of the source objects. Select the group and run Cloner again to reopen it with those settings. OK regenerates and replaces the old result; Cancel restores it untouched. Hold Option/Alt while launching to clone the group as ordinary artwork instead.

Honeycomb’s overlay uses the temporary Cloner Honeycomb Grid Preview layer. It is a viewing aid and is cleaned up when you finish. Your kept result consists of editable source artwork and arranged copies, including any zero-opacity instances created by Skip.

Confirm the finished arrangement

1
Check the selected sources, Selection behavior, counts, and the safety estimate.
2
Inspect spacing, mode orientation, shared Scale/Rotate, End Opacity, and enabled Randomize channels. Save a preset if you want to reuse the setup.
3
Choose Group or Ungroup, then click OK. Use Cancel to remove the temporary arrangement instead.

Closing the window cancels the preview without saving settings. After you confirm an arrangement, use Illustrator’s Undo if you need to revert it.

08 Help & fixes

Troubleshooting

Resolve missing artwork, unexpected repetition, or input problems before committing. Cancel lets you leave an active arrangement without keeping its temporary copies.

Cloner asks me to select artwork

Open an Illustrator document and select one or more objects before launching the script. The selection is the source for every cloning mode.

I cannot see the arrangement

Turn Preview ON. Check source opacity, End Opacity, shared Scale, and Randomize. Skip 10 hides every instance; reduce it or disable the channel.

Multiple sources produce more objects than expected

Each Object builds the full arrangement for every source. Use Settings > Selection > Sequential for one source per position. The safety estimate remains conservative in Sequential mode.

A slider will not reach my value

Use the numeric field or supported step controls for values beyond the displayed track. Counts must be positive whole numbers. End Opacity must stay within 0–100%; Fibonacci Spacing must be positive and its Rotation stays within −360° to 360°.

Randomize does nothing

Turn Randomize ON, enable the channel, and give it a nonzero amount or chance. Disabled controls are faded. Changing an amount preserves its seed; use dice to get a new pattern.

A preset will not move or save

Clear the search and the filter pill before dragging its six-dot reorder handle. Default is protected. If the title shows Save failed, the library change was rolled back; hover the title for the write error.

Selecting a Cloner result loads its old settings

Grouped results are live-linked so you can edit them. Hold Option/Alt while launching Cloner to clone the group as ordinary artwork, or ungroup it first.

Import added fewer presets than the file holds

Identical presets already in the library are skipped, taken names receive a numeric suffix, and the library holds up to 200 presets. The import summary lists each case.

Preview failed during generation

Cloner removes partial staged copies, restores originals, turns Preview off, and reports the failure. Review the selected sources and reported message before trying again.

Get started

Ready to create your first arrangement?

Cloner is available exclusively to Pro supporters on Patreon. Pro membership also unlocks the entire collection of Illustrator scripts and every future update, and helps fund new tools.

Spotted an issue or have a feature idea? Send a report  ·  License Agreement ↑ Back to top

Leave a comment

Cloner

Version: 2.2.5

Updated:

    • 1.0.0: Introduced the initial cloning workflow.
    • 1.0.1: Added per-parameter reset buttons.
    • 1.0.2: Added right-click slider resets.
    • 1.0.3: Added Reverse Order to Linear mode.
    • 1.0.4: Added Reverse Order to Wave mode.
    • 1.0.5: Added Reverse Order to Radial mode.
    • 1.0.6: Added Reverse Order to Grid mode.
    • 1.0.7: Added Random Opacity.
    • 1.0.8: Added adjustable Random Rotation.
    • 1.0.9: Added adjustable Random Scale.
    • 1.1.0: Added adjustable Random Opacity amount.
    • 1.1.1: Added End Opacity to Linear mode.
    • 1.1.2: Added End Opacity to Radial mode.
    • 1.1.3: Added End Opacity to Spiral mode.
    • 1.1.4: Added End Opacity to Wave mode.
    • 1.1.5: Added Linear Distribution easing.
    • 1.1.6: Added persistent interface settings.
    • 1.1.7: Added Honeycomb mode with two orientations.
    • 1.1.8: Reworked Hide / Show Edges to change selection instead of Illustrator's global view state.
    • 1.1.9: Added label-based resets and option cycling.
    • 1.2.0: Added Fibonacci mode and reordered Grid and Honeycomb count controls.
    • 1.2.1: Reordered mode tabs and added Grid Use Object Size.
    • 1.2.2: Added Grid row and column offsets with percentage Shift.
    • 1.2.3: Introduced theme-aware reset indicators and Option / Alt reset shortcuts.
    • 1.2.4: Added the theme-aware vector interface, tooltips, and branded footer.
    • 1.2.5: Replaced standard option controls with labeled vector toggle buttons.
    • 1.2.6: Added custom sliders with integrated minus and plus controls.
    • 1.2.7: Added segmented selectors and the custom angle control foundation.
    • 1.2.8: Added color-coded icon tabs and mode-specific accent colors.
    • 1.2.9: Added automatic dialog sizing for the active tab.
    • 1.3.0: Added Linear Custom Angle movement and refined conditional controls.
    • 1.3.1: Improved responsive alignment, spacing controls, and saved-state compatibility.
    • 1.3.2: Added icon-based Grid Offset and Radial orientation selectors.
    • 1.3.3: Added stable Random seeds, safe preview cleanup, count warnings, corrected Radial and Spiral edge cases, Honeycomb grid preview, Grid gutters, updated icons, and automatic result grouping.
    • 1.3.4: Added the Radial Interactive Controls editor for direct radius, count, angle, opacity, and orientation adjustment.
    • 1.3.5: Added the Grid Interactive Controls editor and a collapsible, space-saving Interactive Controls panel.
    • 1.3.6: Added the Linear Interactive Controls editor with corrected canvas-direction mapping.
    • 1.3.7: Added the Wave Interactive Controls editor and refined the Random Seed layout.
    • 1.3.8: Added the Spiral Interactive Controls editor with matching canvas orientation.
    • 1.3.9: Added the Fibonacci Interactive Controls editor.
    • 1.4.0: Added the Random Interactive Controls editor with linked Width and Height, refined its distribution display, guarded preview updates when no document is active, and locked the dialog to its intended responsive layout.
    • 1.4.1: Added per-instance Randomize controls to Radial, Spiral, Wave, and Fibonacci, including the compact scrollbar, shuffle toggle, deterministic variation, and saved states.
    • 1.4.2: Added the Honeycomb Interactive Controls editor with live lattice editing, radius, counts, orientation, Reverse Order, and right-aligned Grid Preview.
    • 1.4.3: Replaced the external User Guide action with a searchable, resizable in-script guide styled after the reference UI kit, while retaining links to online resources.
    • 1.4.4: Expanded the built-in guide with mode illustrations, improved reset behavior, and added reversible Zoom to Fit.
    • 1.4.5: Moved persistent settings to the system user-data ScriptBox folder with safe JSON storage, migration, backups, and validation.
    • 1.4.6: Optimized OK to reuse an up-to-date live preview instead of deleting and recreating the same arrangement, with safer preview-source validation.
    • 2.0.0: Public release of the redesigned Cloner with advanced Interactive Controls in every mode, searchable built-in documentation, persistent settings, preview reuse at that release, stable randomization, reversible Zoom to Fit, value-based slider ticks, magnetic Radius/Distance detents, and control-specific Shift-drag snapping.
    • 2.0.1: Added safe arithmetic expressions in numeric fields, including parentheses and standard operators, with incomplete entries preserved during editing and evaluated values committed on completion.
    • 2.0.2: Added correct regular- and Large Canvas measurement handling through document.scaleFactor, centralized point and ruler-unit conversions across every cloning mode, corrected Fibonacci spacing units, and added a dedicated 0° reset icon beside the Linear Direction input.
    • 2.0.3: Added the Presets workspace with mode-specific user presets, click-to-apply behavior, inline rename and delete actions, drag and context-menu reordering, and immediate preset-library persistence.
    • 2.0.4: Introduced separate Settings, Editor, and Presets workspaces; moved all visual Interactive Controls into the new Editor tab; added synchronized color-coded mode selectors to Settings and Editor; made every active editor permanently visible and enabled; added the pointer-click Editor icon; removed the built-in Default preset; added a first-use empty state; and color-coded preset number badges by cloning mode.
    • 2.0.5: Added a dedicated Randomize workspace with a Shuffle icon; replaced the former shared compact control with independent X Offset, Y Offset, Size, Rotation, and Opacity channels for all eight modes; added a shared reproducible seed and Regenerate action; persisted Randomize values in settings and presets; introduced horizontal and vertical offset icons; shortened toggle labels; dimmed disabled labels and −/+ controls in dark mode; and removed redundant Editor headers so the Interactive Controls use the available height without blank space or cropping.
    • 2.0.6: Kept a synchronized cloning-mode selector visible in Randomize; moved the master Randomize ON / OFF toggle to the bottom of the frameless Randomize workspace; added a matching, prominent Randomize All action; added a visible right-side dice button to every channel; left-aligned the Random Seed label and field; added Undo/Redo controls for navigating complete seed snapshots; centralized preview throttling across sliders, visual editors, and numeric inputs; added diagnostic logging for non-fatal internal errors; and replaced Random mode's separate Link Width & Height row with a compact two-row icon control that preserves numeric-field alignment. Turning the master off still preserves all channel states, amounts, and seeds for immediate before-and-after comparison.
    • 2.0.7: Added double-click preset-name editing; collision-safe 64-character preset names; write-failure rollback for preset changes; centralized numeric validation with positive whole-number counts and a 10,000-object ceiling; corrected Square Wave amplitude; safer selection handling; transactional preview, generation, and grouping cleanup; consistent source identity with Preview on or off; and reliable XMP resource cleanup.
    • 2.0.8: Added shared Editor Scale and Rotate controls with icon-led labels, live preview, preset/settings persistence, validation, and transactional application to the source and all generated instances. Scale uses twenty 10% track divisions; Rotate uses a ±180° track with 5° minor ticks, 10° major ticks, and gentle detents. Numeric fields and step buttons can exceed both visual ranges.
    • 2.0.9: Corrected Linear End Scale tracks to grow left below 100% and right above 100%, allowed exact End Scale values above the 200% slider range, added right-click quick saving on the Presets workspace tab, added deterministic 50% Horizontal Flip and Vertical Flip channels to Randomize, and restored a protected Default preset that resets every setting.
    • 2.1.1: Redesigned Grid controls with tall icon-only link buttons beside paired labels, separated count and spacing sections, and placed Reverse Order beside Use Object Size. Improved launch and navigation performance with batched mode synchronization, visible-only theme redraws, delayed initial preview, 200 ms trailing mode-preview updates, and on-demand editor initialization.
    • 2.1.2: Added independent Horizontal and Vertical Radius controls to Radial mode, a Link / Unlink control for circles and ellipses, elliptical Interactive Controls, settings migration, and corrected Presets search focus handling.
    • 2.1.3: Widened the dialog and replaced native numeric-field chrome with custom-painted number wells supporting reliable typing, arithmetic, split steppers, wheel adjustment, vertical scrubbing, modifier steps, and reset interaction.
    • 2.1.4: Rebuilt Presets search around a standard live text field and added the Settings-only Selection control with Each Object and Sequential behavior for multiple source objects.
    • 2.1.5: Added icon-led graphics labels throughout Settings, renamed Linear Distribution to Easing, refined conditional Link / Unlink placement, reorganized Grid dividers and bottom options, aligned Reverse Order controls, moved the Randomize actions to the top, added Reset All, widened Randomize channel titles, and refreshed the supplied vector icons.
    • 2.1.6: Made final result grouping optional with synchronized Group / Ungroup toggles, and added Linear Destination movement for exact final-instance placement with automatic in-between distribution.
    • 2.1.7: Added numeric fields to the Randomize channels for typing exact X Offset, Y Offset, Size, Rotation, and Opacity amounts, and an adjustable percentage chance with its own field and slider for Flip Horizontal and Flip Vertical. Performance: the dialog opens with far fewer layout and repaint passes, mode and workspace switches lay the dialog out once, sliders and reset indicators repaint only when their state changes, and each live preview is built and redrawn once, skipped when nothing changed, and paced while dragging in the Editor.
    • 2.2.2: Added the Editor − / percentage / + toolbar with click-to-reset and horizontal zoom scrubbing, per-control hover tips, drag-to-pan, and spring-back for offscreen handles. Expanded Grid and Honeycomb previews to the full lattice with detail that increases on zoom, and enabled arrangement controls throughout the preview header area. Added preset-list drag scrolling and hover-only left grips for reordering. Hide / Show Edges now preserves selection and reverses its view changes when Cloner closes. Replaced the Linear Direction icon and added compact direction-angle presets including negative angles.
    • 2.2.3: Removed the Linear endpoint drag limit and added direct Distance scrubbing and step buttons; fixed Fibonacci canvas counts above 80, lightened the Random area fill, and added shared Skip Instances with a 0–10 amount, independent seed shuffle, resets, seed history, and settings/preset persistence.
    • 2.2.4: Added color-coded preset thumbnails that preview each arrangement, a vertical resize handle below the Editor canvas and the Presets list with double-click reset and a remembered height, and an accent-on-hover Save Preset button.
    • 2.2.5: Added preset Favorites with heart toggles, a count pill that filters the list by Favorites or cloning mode, Update and Duplicate commands, an unsaved-changes dot, painted icon tooltips, JSON Import / Export, and a 200-preset limit with clear alerts. Presets and remembered settings now record their ruler unit and random seed. Grouped results stay editable through a live link, the 1–8 keys switch modes, ⌘/Ctrl+S saves a preset, and the search clear button reliably empties the field.

    ㅤ

    ㅤ

    ㅤ

    Tested on MacOS:

    ㅤ

    • Adobe Illustrator 2023 (27.0)
    • Adobe Illustrator 2024 (28.1)
    • Adobe Illustrator 2025 (29.0)
    • Adobe Illustrator 2026 (30.3)
  • Supported Versions:

    • Compatible with Adobe Illustrator CS6 and later, including Adobe Illustrator CC versions.

    Operating Systems:

    • Works on both macOS and Windows platforms.
  • End User License Agreement (EULA)

    Last Updated: 21.12.2024

    ㅤ

    This End User License Agreement (“Agreement”) is a legal agreement between you (“User” or “Licensee”) and Samolevsky.com (“Licensor”) regarding the use of the Adobe Illustrator scripts (“Software”). By downloading, installing, or using the Software, you agree to be bound by the terms of this Agreement.

    ㅤ

    1. Grant of License

    Licensor grants the User a non-exclusive, non-transferable, and revocable license to use the Software in accordance with this Agreement.

    • Free Software: If the Software is provided for free, you may use it for personal or commercial purposes without payment, subject to the restrictions outlined in this Agreement.
    • Paid Software: If the Software is provided for a fee, you may use it only after payment has been made in full.

    ㅤ

    2. Usage Rights

    You are permitted to:

    • Install and use the Software on devices you own or control.
    • Use the Software in your personal or commercial projects, subject to compliance with this Agreement.

    ㅤ

    3. Restrictions

    You may NOT:

    • Reverse engineer, decompile, or otherwise attempt to discover the source code, underlying ideas, or algorithms of the Software.
    • Reuse, incorporate, or integrate any portion of the Software into any other software, product, or project, except as expressly permitted by the Licensor in writing.
    • Resell, redistribute, or share the Software, whether in its original or modified form, without prior written consent from the Licensor.
    • Claim ownership of the Software or its underlying code.
    • Use the Software in any way that violates applicable laws or regulations.

    ㅤ

    4. Ownership

    The Software and all intellectual property rights therein remain the exclusive property of the Licensor. This Agreement does not transfer ownership of the Software or any intellectual property rights to the User.

    ㅤ

    5. Disclaimer of Warranties

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    ㅤ

    6. Limitation of Liability

    To the maximum extent permitted by law, Licensor shall not be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or related to the use or inability to use the Software.

    ㅤ

    7. Termination

    This Agreement is effective until terminated. Licensor may terminate this Agreement immediately if you breach any term of this Agreement. Upon termination, you must cease all use of the Software and destroy any copies in your possession.

    ㅤ

    8. Updates and Support

    Licensor is not obligated to provide updates, support, or maintenance for the Software. However, updates may be provided at the sole discretion of the Licensor.

    ㅤ

    9. Governing Law

    This Agreement shall be governed by and construed in accordance with the laws of the State of New York, without regard to its conflict of law principles.

    ㅤ

    10. Entire Agreement

    This Agreement constitutes the entire agreement between you and the Licensor concerning the Software and supersedes all prior or contemporaneous understandings regarding such subject matter.

    By using the Software, you acknowledge that you have read this Agreement, understand it, and agree to be bound by its terms.

    ㅤ

    For any questions or concerns regarding this Agreement, please contact us at hello@samolevsky.com

Browse More Scripts

  1. Explore Swatches Batch Renamer
    Swatches Batch Renamer

    Swatches Batch Renamer

    Swatches Batch Renamer renames many swatches at once instead of one by one in the Swatches panel. You build names from text and placeholders, check a live preview, and apply everything in a single step.

    Explore
  2. Explore Palette Recolor
    Palette Recolor

    Palette Recolor

    Palette Recolor swaps the colors in your selected artwork for the colors of a palette, so you can try a new color scheme in seconds instead of recoloring objects one by one.

    Explore
  3. Explore 3D Rotate
    3D Rotate

    3D Rotate

    3D Rotate transforms selected Illustrator artwork in three dimensions.

    Explore

Introducing ScriptBox

Your Complete Adobe Illustrator Productivity Hub

Required Software

Adobe Illustrator

Adobe Illustrator is a professional vector graphics software developed by Adobe Inc. It is widely used by designers, illustrators, and artists for creating a variety of digital artwork, including logos, icons, illustrations, typography, and complex design layouts. Illustrator is known for its precision and scalability, allowing users to create high-quality graphics that can be resized without losing clarity. Its features include powerful drawing tools, customizable brushes, advanced typography options, and seamless integration with other Adobe Creative Cloud applications. Illustrator is a go-to tool for creative professionals working on projects for print, web, and multimedia platforms.

  • 🅰 Locating the Scripts Folder

    To install a Cloner.jsx script in Adobe Illustrator, you need to place it in the correct directory where Illustrator
can recognize it. Follow these steps to locate the Scripts folder:

    1. MacOS:
      Open Finder and navigate to:
      Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
    2. Windows:
      Open File Explorer and navigate to:
      C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
    3. Replace <Version> with your Adobe Illustrator version (e.g., 2025).
    4. Replace <Language> with your language folder (e.g., "de_DE" for German, "en_US" for English).

    ㅤ

    🅱 Installing the Script

    1. Copy the Script File: Copy the Cloner.jsx file to the Scripts folder located in the path above.
    2. On some systems, you may need administrator permissions to modify the Scripts folder.
    3. Restart Adobe Illustrator: To refresh the scripts menu, close and reopen Adobe Illustrator.

    ㅤ

    Explore our complete guide to mastering Adobe Illustrator scripts.

    1. Open Adobe Illustrator and ensure a document is active.
    2. Go to the top menu bar and select File > Scripts.
    3. If the script is installed in the Scripts folder, it will appear in the dropdown list.
    4. Click the Cloner script to run it.
    5. The Cloner script will execute, and any dialog boxes or results will appear based on the script’s functionality.

    ☻ Before running any scripts, it’s strongly advised to save your work — especially when working with complex or large documents.

Got questions?

Need help or have an idea to share? We’d love to hear from you! Whether you have questions, found a bug, have a feature request, or just want to share your feedback, reach out to us—we’re here for you!